package com.book.entity;

public class Book {
	private Integer id;
	private String bookname;
	private double price;
	private String publish;
	
	public Book(String bookname, double price, String publish) {
		super();
		this.bookname = bookname;
		this.price = price;
		this.publish = publish;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getBookname() {
		return bookname;
	}
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getPublish() {
		return publish;
	}
	public void setPublish(String publish) {
		this.publish = publish;
	}
	@Override
	public String toString() {
		return "Book [id=" + id + ", bookname=" + bookname + ", price=" + price + ", publish=" + publish + "]";
	}
	
	
}
